package com.zscat.mallplus.pms.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zscat.mallplus.pms.entity.PmsComment;
import com.zscat.mallplus.pms.mapper.PmsCommentMapper;
import com.zscat.mallplus.pms.service.IPmsCommentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 商品评价表 服务实现类
 * </p>
 *
 * @author zscat
 * @since 2019-04-19
 */
@Service
public class PmsCommentServiceImpl extends ServiceImpl<PmsCommentMapper, PmsComment> implements IPmsCommentService {

    @Resource
    private PmsCommentMapper commentMapper;

    /**
     * 查询商品评价列表
     *
     * @param comment
     * @return
     */
    public List<PmsComment> selectCommentList(PmsComment comment) {
        return commentMapper.selectCommentList(comment);
    }
}
